package com.ruoyi.common.core.domain.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 微信小程序登录传递参数
 *
 * @author 10100
 */
@Data
@ApiModel(value = "微信小程序登录参数")
public class WxMiniAppLoginBody {

    /**
     * 微信小程序code
     */
    @NotBlank(message = "code不能为空")
    @ApiModelProperty(value = "微信小程序code", required = true)
    private String code;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String mobile;
} 